//
//  CTVRootChannelMenuController.h
//  Channltv
//
//  Created by Bruno Keymolen on 07/09/07.
//  Copyright 2007 channl.tv. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "CTVRootChannel.h"
#import "CTVSync.h"

@interface CTVRootChannelMenuController : BRMediaMenuController  <CTVSyncListener> {
	CTVRootChannel* m_rootChannel;
}

- (id) initWithScene: (BRRenderScene *) scene andRootChannel:(CTVRootChannel*)rootChannel;
- (void) dealloc;
- (long) itemCount;
- (id<BRMenuItemLayer>) itemForRow: (long) row;
- (NSString *) titleForRow: (long) row;
- (long) rowForTitle: (NSString *) title;
- (void) itemSelected: (long) row;
- (id<BRMediaPreviewController>) previewControllerForItem: (long) item;
- (id)popAnimation;
- (id)pushAnimation;
- (void)willBePopped;
- (void)willBePushed;

//CTVSyncListener
-(void)syncStarted;
-(void)syncStopped;
-(void)syncWillFinish; 

@end
